package com.lyh.crm.workbench.service;

import com.lyh.crm.vo.PaginationVO;
import com.lyh.crm.workbench.domain.*;

import java.util.List;
import java.util.Map;

public interface VisitService {

    PaginationVO<Visit> pageList(Map<String, Object> map);

    boolean save(Visit v);

    Visit getAllById(String id);

    boolean deleteByIds(String[] ids);

    boolean update(Visit v);

    Visit detail(String id);

    List<VisitRemark> getRemarkListByAid(String visitId);

    boolean deleteRemark(String id);

    boolean saveRemark(VisitRemark vr);

    boolean updateRemark(VisitRemark vr);
}
